package com.hs.service;

import com.github.pagehelper.PageInfo;
import com.hs.entity.ClassQaAnswer;

import java.util.List;

public interface ClassQaAnswerService {
    int deleteById(Integer id);
    int addClassQaAnswer(ClassQaAnswer classQaAnswer);
    int updateClassQaAnswer(ClassQaAnswer classQaAnswer);
    ClassQaAnswer getClassQaAnswerById(Integer id);
    PageInfo<ClassQaAnswer> getClassQaAnswerPage(int pageNum, int pageSize);
    //多对一
    List<ClassQaAnswer> getClassQaAnswerByQaId(int cqqId);
}
